﻿

namespace Huirui.Cavan.Application.MainBoundedContext.AttachmentModule
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Huirui.Cavan.Application.Seedwork;
    using Huirui.Cavan.Domain.MainBoundedContext.AttachmentModule;
    using Huirui.Cavan.Domain.MainBoundedContext.SearchModule;

    public interface IAttachmentAppService : IBaseAppService<Attachment, AttachmentSearch>
    {
        AttachmentGroup GetAttachmentGroupByID(int id);

        Attachment GetAttachmentByIDAndGroup(int id, AttachmentIdentifier.AttachmentGroup group);
    }
}
